#include "miner_define.h"
const int Miner_Define:: enters_nums[2] = {0,3};
Miner_Define::Miner_Define(double process_speed, double transport_speed, int group_idx)
    :FacilityDefine(
        FacilityType::MINER,
        process_speed,
        1,
        1,
        enters_nums[group_idx],
        1,
        group_idx
        ),
    transport_speed(transport_speed)
{
    transport_interval = speedToInterval(transport_speed);
    switch(group_idx){
    case 0:
        break;
    default:
        std::clog << "no available\n!";
        break;
    }
    relative_exits.push_back(ExitGate(Coordinate(0,0),gate::Gate_UP));
}
